home *** CD-ROM | disk | FTP | other *** search
/ L' Effet Pommier 3 / L'Effet Pommier - Volume 03.iso / Programmation / Alpha ƒ / LaTeX / latex 2.09 / LaTeX Help next >
Text File  |  1995-07-02  |  26KB  |  479 lines

  1. I.  OVERVIEW
  2.  
  3. This is the 'LaTeX Help' file available from Alpha's Help menu. Command key 
  4. summaries suitable for printing will be found in the file 'commands.tex'.
  5.  
  6. The LaTeX Menu
  7. --------------
  8.  
  9. Upon entering TeX mode, either manually (by choosing Modes:Tex from the 
  10. Misc menu or via the pop-up menu to the left of the window's horizontal 
  11. scroll bar) or automatically (whenever a .tex or .sty file is activated), a 
  12. new menu appears in the menu bar. The LaTeX menu provides access to scores 
  13. of procedures stored in source form in the file latex.tcl and loaded the 
  14. first time 'Tex' mode is entered. The LaTeX menu follows closely the 
  15. organization and terminology of L. Lamport's _LaTeX_ book (Addison-Wesley, 
  16. 1986), especially chapter 3. It's generally agree that the _LaTeX_ book is 
  17. still the definitive LaTeX reference and should be on every LaTeX user's 
  18. desk. 
  19.  
  20. Basic Operations
  21. ----------------
  22.  
  23. The macros in latex.tcl revolve around two basic operations called 
  24. insertObject and wrapObject. Basically, the insertObject operation is a 
  25. call to insertText preceded by the automatic deletion of previously 
  26. selected text (this is easily changed, however, by resetting the flag 
  27. 'deleteObjectNoisily' on the Utils menu). For example, if there is no 
  28. current selection, choosing the command Greek:Alpha from the LaTeX menu 
  29. inserts the corresponding LaTeX command at the insertion point; otherwise 
  30. it replaces the current selection with the string "\alpha". In other words, 
  31. insertObject works just like the familiar Edit:Paste command. A good 
  32. portion of the commands in latex.tcl rely on insertObject but actually 
  33. these are least important since it's almost always easier to type them at 
  34. the keyboard. On the other hand, if we forget the syntax of a particular 
  35. LaTeX command, it's quicker to look it up on the menu than it is in the 
  36. _LaTeX_ book. Additional time savings may be realized when these commands 
  37. are used in conjunction with their corresponding command keys...but more on 
  38. that later. 
  39.  
  40. The operation complementary to insertObject is called wrapObject. The 
  41. difference between the two is the way the latter treats the current 
  42. selection. That is, wrapObject inserts its argument at the insertion point 
  43. (just like insertObject), but if there is a selection, wrapObject cuts it 
  44. out (without effecting the current state of the Clipboard) and inserts it 
  45. in the middle of the chosen command. For example, consider the LaTeX menu 
  46. command Miscellaneous:Footnote. This command inserts the string 
  47. "\footnote{}Ñ" (minus the double quotes, of course) into the document, 
  48. positioning the insertion point between the pair of braces. The user then 
  49. types the text to be footnoted and presses the Tab key, after which the tab 
  50. stop macro finds the bullet Ñ at the end of the string. (Note: use 
  51. option-tab or control-tab to insert a literal tab character into the 
  52. document.) On the other hand, if a selection exists at the time 
  53. LaTeX:Miscellaneous:Footnote is issued, the selection itself is surrounded 
  54. by LaTeX's \footnote command, and the insertion point is brought to the end 
  55. of the selection automatically. Some commands, for better or worse, even go 
  56. so far as to insert the selection into one of several competing positions 
  57. within the command string. The LaTeX:Formulas:Fraction command is a good 
  58. example of this type of behavior. It assumes the current selection (if 
  59. there is one) is the numerator of the fraction to be typeset, cutting & 
  60. pasting accordingly. 
  61.  
  62. The concept of wrapping an object is carried one step further in the case 
  63. of environments. Suppose you want to center an existing tabular 
  64. environment, for example. Just select the tabular environment and then 
  65. choose Environments:General from the LaTeX menu. A dialog will appear 
  66. prompting the user for the name of the environment. Since "center" is the 
  67. default, just press the OK button in the dialog box. The resulting 
  68. centering environment will completely surround the existing tabular 
  69. environment, indenting the latter one tab stop to the right. 
  70.  
  71. Not all environments wrap, however. Those environments whose body is very 
  72. structured (that is, enumerate, itemize, description, tabular, 
  73. thebibliography, array, eqnarray, and eqnarray*) do not. Instead, these 
  74. environments simply insert text into the document. If there happens to be a 
  75. selection at the time one of these commands is issued, an alert appears 
  76. asking if the selection should be deleted. To turn this alert off, simply 
  77. toggle the flag 'deleteEnvironmentNoisily' on the Utils menu. 
  78.  
  79. Whitespace
  80. ----------
  81.  
  82. Before going on, let me say a few words about whitespace. In virtually all 
  83. cases, superfluous whitespace in command strings has been deleted. For 
  84. example, objects inserted with insertObject (a sizable portion of 
  85. latex.tcl's functionality) do not routinely insert a trailing space 
  86. character. Instead, the user must decide whether or not space should 
  87. immediately follow a particular TeX or LaTeX control word (sometimes it's 
  88. needed, and sometimes it's not). Setting indentOnCR to false also prevents 
  89. a lot of extraneous whitespace from being inserted into your document (but 
  90. then it won't look so good!) 
  91.  
  92.  
  93. II.  VERSION HISTORY
  94.  
  95. Changes in Version 2.0
  96. ----------------------
  97.  
  98.  Ñ The documentation (LaTeX Help and commands.tex) has been totally 
  99.    rewritten.
  100.  Ñ A new, expanded LaTeX menu has been implemented, following closely the 
  101.    organization and terminology of the LaTeX book.
  102.  Ñ Ellipses have been added to LaTeX menu items where appropriate.
  103.  Ñ Macros intelligently respond to the current selection---although
  104.    many objects simply replace the current selection (similar to Paste), 
  105.    others conveniently and automatically wrap themselves around it.  
  106.    Environments automatically wrap themselves around a selection, too.
  107.  Ñ Functionality has been localized in utility macros as much as possible.
  108.  Ñ Standard document types (letter, article, report, and book) have been 
  109.    added.  Simply select some text (or not) before choosing the desired 
  110.    command from the Documents menu.
  111.  Ñ Three flags have been added to the Utils menu:  'useBoxMacro' (which 
  112.    controls the behavior of the figure environment), 'deleteObjectNoisily' 
  113.    (which controls an alert that appears when the current selection is 
  114.    about to be replaced by an object), and 'deleteEnvironmentNoisily' 
  115.    (which controls an alert that appears when the current selection is 
  116.    about to be replaced by an environment).
  117.  Ñ Many new environments have been added (figure, table, verbatim, quote,
  118.    quotation, verse) and some (enumerate, itemize, description, tabular, 
  119.    bibliography, array, eqnarray, and eqnarry*) now prompt the user for 
  120.    the desired number of rows and, in some cases, columns.  The environment 
  121.    body is then constructed automatically.
  122.  Ñ The figure environment now depends on a flag called 'useBoxMacro' on the
  123.    Utils menu.  If this flag is true (which it is by default), then the
  124.    figure environment inserts the string "\\centerline{\\$boxMacroName{Ñ}}"
  125.    into its body.  Otherwise, the body of the figure environment is left
  126.    empty (unless there is a current selection, in which case the figure
  127.    environment wraps).
  128.  Ñ A new, improved fraction macro now parses a selection of the form 
  129.    "numerator/denominator" and then automatically constructs the 
  130.    corresponding displayed fraction.  A selection not containing a  
  131.    "/" is inserted in lieu of the fraction's numerator.
  132.  Ñ Both TeX and LaTeX math modes are supported, including $...$, $$...$$,
  133.    \(...\), and \[...\].  These are inserted into the document horizontal-
  134.    ly.  The corresponding multi-line environments \begin{math}...\end{math} 
  135.    and \begin{displaymath}...\end{displaymath} are also supported and 
  136.    heartily recommended (since these constructs are more easily modified 
  137.    and maintained by the user).
  138.  Ñ There's now a two-parameter nth root, in addition to square root.
  139.  Ñ Arbitrary one- and two-parameter LaTeX commands have been implemented, 
  140.    namely, \<command>{Ñ} and \<command>{Ñ}{Ñ}.  These can be run inter-
  141.    actively, or used as templates for user-defined commands.
  142.  Ñ In addition to sum and integral, numerous "large operators" (product, 
  143.    union, intersection, logical and/or) have been added.
  144.  Ñ The nonumber command has been removed since it only appears in the 
  145.    context of an eqnarray environment.
  146.  Ñ Both the Conjugate and Expected Value commands have been removed since 
  147.    in my (perhaps limited) experience these are nonstandard mathematical 
  148.    notation.
  149.  Ñ Sectioning commands no longer insert a trailing carriage return.
  150.  Ñ The Sum and Integral commands no longer typeset the current selection 
  151.    as the lower limit of the sum or integral.
  152.  Ñ The command texDisplayEqn is no longer supported. Instead, the commands
  153.    MathModes:texDisplaymath and MathModes:latexDisplaymath insert 
  154.    themselves horizontally into the .tex file.  For vertical source code 
  155.    formatting, use MathEnvironments:Displaymath.
  156.  Ñ Extraneous comments preceding each environment have been removed.
  157.  Ñ The command alignEqual has been removed since the separator is now
  158.    inserted automatically into the appropriate environments.
  159.  
  160. Changes in Version 1.2
  161. ----------------------
  162.  
  163.  Ñ **IMPORTANT**: KEYBINDINGS NOW DEPENDENT ON optionIsMeta FLAG
  164.  
  165.  Ñ macros shortened through use of movePoint and selReplace utility macros.
  166.  Ñ new macros added: section, subsection, subsubsection, enumerate,
  167.    itemize
  168.  Ñ most short macros handle selected text (i.e. highlight "word", execute
  169.    the boldface command, and you get "{\bf word}").  NOTE: this is 
  170.    OPTIONAL--you can still execute boldface, type "word", and type tab.
  171.  Ñ latex key bindings only performed the first time Tex mode is entered,
  172.    to save time
  173.  Ñ emphasize macro updated
  174.  
  175. Changes in Version 1.1
  176. ----------------------
  177.  
  178.  Ñ non-breaking space removed from cite macro
  179.  Ñ slide environment macro added and assigned to o-F9 and c-o-9
  180.  Ñ equation, displaymath, eqnarray, eqnarray*, slide, and general environment
  181.    now indent and no longer insert a blank line if called from column 0.
  182.  Ñ texDisplayEqn ($$...$$) added and bound to o-s-4
  183.  
  184. Known Bugs
  185. ----------
  186.  
  187.  Ñ the figure and table environments need an optional LaTeX parameter
  188.  Ñ the italic correction is not very smart, especially when wrapping 
  189.    an object
  190.  Ñ the fraction command does not remove redundant parentheses
  191.  Ñ the Alpha variable 'indentOnCR' should reduce extraneous whitespace 
  192.    to near zero when set to false
  193.  Ñ the mathStyle:calligraphic command should check to see that its
  194.    argument is upper-case
  195.  Ñ the various commands on the Documents submenu should make sure the 
  196.    file is empty (if inserting) or totally selected (if wrapping)
  197.  
  198. In the Works
  199. ------------
  200.  
  201.  Ñ an interactive list-making command
  202.  Ñ interactive (re)newcommand, (re)newenvironment, and newtheorem commands
  203.  Ñ international characters
  204.  Ñ a tabbing environment (yuck!)
  205.  Ñ an index environment
  206.  Ñ additional TeX and LaTeX boxes
  207.  Ñ log-like functions 
  208.  Ñ multi-line delimiters
  209.  Ñ a less obtrusive and more general tab-stopping mechanism
  210.  Ñ support for the AMS math fonts
  211.  Ñ the ability to "unwrap" fractions and other complex objects
  212.  
  213.  
  214. III.  MENUS
  215.  
  216. The LaTeX menu is organized into three parts: document-related commands, 
  217. paragraph mode commands (that is, normal text commands), and math mode 
  218. commands. Each group of commands is separated by a thin grey line on the 
  219. menu. A brief description of the available commands follows. See the file 
  220. 'commands.tex' for more specific information. 
  221.  
  222. Document-related Commands
  223. -------------------------
  224.  
  225. In addition to the standard LaTeX document styles (letter, article, report, 
  226. and book) a custom document style that runs interactively is available. 
  227. Choosing one of these commands from the Documents submenu either inserts 
  228. the desired template at the insertion point or, if there is a current 
  229. selection---say, a paragraph of text or even a whole document---the 
  230. selection is wrapped up inside the chosen document style. In either case, 
  231. the insertion point is positioned at the beginning of the template allowing 
  232. the user to enter any specific document-style options that may be required 
  233. (standard options include 11pt, twoside, and twocolumn, for example). 
  234. If none are desired, simply skip over this part of the template (it's okay 
  235. to leave the empty square brackets where they are). 
  236.  
  237. Numerous LaTeX sectioning commands are available from the Sectioning 
  238. submenu, the most useful being the chapter, section, and subsection 
  239. commands. The corresponding LaTeX command is inserted at the insertion 
  240. point. The current selection, if there is one, is assumed to be the name of 
  241. the section and is wrapped up inside curly braces. The resulting 
  242. declaration is NOT followed by a carriage return since the user has the 
  243. option of putting a label (or whatever) on the same line. 
  244.  
  245. Future versions of latex.tcl will provide tools for constructing various 
  246. command and environment definitions. 
  247.  
  248. Paragraph Mode Commands
  249. -----------------------
  250.  
  251. Taken together, the Text Style and Text Size submenus contain most of 
  252. LaTeX's text formatting declarations. Since I usually override LaTeX's 
  253. default settings only for very small amounts of text (typically a sentence 
  254. or less), the scope of each of these declarations has been delimited by 
  255. braces even though there may be times when this approach is superfluous and 
  256. even outright wrong. (This "feature" may change in future versions of 
  257. latex.tcl.) 
  258.  
  259. I should also say something about TeX's italic correction which forced 
  260. some difficult design choices. Paraphrasing Shakespeare, "To correct, or 
  261. not to correct, that is the question!" The compromise (which I hope doesn't 
  262. turn out to be a mistake) was to consistently include the italic correction 
  263. "\/" with each instance of Italic, Emphatic (preferred in the vast majority 
  264. of cases) or Slanted text, but then to highlight the correction so the user 
  265. could choose to delete it easily. So, immediately after inserting one these 
  266. three declarations, decide which way to go by pressing the delete key or 
  267. not. 
  268.  
  269. Future versions of latex.tcl will implement TeX's extensive international 
  270. character set and diacritical marks.
  271.  
  272. Perhaps the most useful of latex.tcl's many features is its ability to 
  273. produce skeletal templates for multi-line environments (that is, LaTeX 
  274. constructs delimited by a \begin...\end pair). These may be inserted 
  275. anywhere in the document (even in the middle of a line), complete with tab 
  276. stops and appropriate indentation (provided the Alpha variable indentOnCR, 
  277. available on the Utils menu, is set to true). On the Environment submenu, 
  278. you'll find commands for Enumerate, Itemize, Description, Tabular, Figure, 
  279. Table, Slide, Verbatim, Quote, Quotation, Verse, and Bibliography 
  280. environments. In some cases (like Enumerate), the user is asked to specify 
  281. the number of rows desired, after which the program generates the 
  282. corresponding environment body (complete with punctuation and tab stops). 
  283. Some environment commands (like Tabular) also prompt the user for the 
  284. desired number of columns. There's even a General command for creating 
  285. user-defined environments. 
  286.  
  287. Although the Boxes submenu is unusually brief, I expect this to change as I 
  288. learn more about TeX boxes. Perhaps the most useful box-making command (the 
  289. only one implemented thus far) is mbox, which formats its argument in LR 
  290. mode, a restricted form of paragraph mode impervious to line breaks. The 
  291. mbox command is especially useful for inserting a bit of plain text in the 
  292. middle of a math formula (see the _LaTeX_ book for examples). 
  293.  
  294. Other text-related LaTeX commands that I've found useful from time to time 
  295. are listed under the Miscellaneous submenu. There you'll find certain 
  296. special characters (like Copyright and Section Mark), the TeX and LaTeX 
  297. logos, quoting commands (which I've always found difficult to typeset 
  298. manually), marginal notes and footnotes, labels, cross references, page 
  299. references, and citations. 
  300.  
  301. Math Mode Commands
  302. ------------------
  303.  
  304. Math mode may be invoked in any number of ways. Many TeXnical typists rely 
  305. exclusively on TeX's use of dollar signs, and almost always key in their 
  306. documents horizontally from left to right. Others have adopted LaTeX's 
  307. tendency to prefer vertical constructions (that is, environments). Still 
  308. others have settled on some combination of these, using whichever seems 
  309. comfortable or convenient at the time. Whatever your approach to 
  310. mathematical typesetting, there's something for everybody in latex.tcl, 
  311. designed to simplify the input of complex mathematical formulas. 
  312.  
  313. Four Math Modes are available for normal, everyday left-to-right input. 
  314. These are called Tex Math ($...$) and Tex Displaymath ($$...$$), and their 
  315. corresponding LaTeX equivalents Latex Math (\(...\) and Latex Displaymath 
  316. \[...\]. The LaTeX versions are equivalent to the multi-line Math and 
  317. Displaymath environments. The latter have the advantage that 1) they are 
  318. often more readable in source form, and 2) they are more easily changed (by 
  319. simply replacing keywords) as the document evolves. 
  320.  
  321. Other multi-line Math Environments peculiar to LaTeX (Equation, Array, 
  322. Eqnarray, and Eqnarray*) are also available, and each is mutually exclusive 
  323. (that is, one may not be nested inside the other) except for the Array 
  324. environment which _must_ be nested inside some other math environment. (It 
  325. took me a long time to come to grips with this anomaly, and I must say the 
  326. misleading example on p.47 of the _LaTeX_ book sure didn't help!) There's 
  327. also a General environment command which turns out to be exactly the same 
  328. one available in paragraph mode (see above). 
  329.  
  330. The Formulas submenu contains LaTeX commands commonly used to build up even 
  331. the simplest mathematical expressions. There are commands for typesetting 
  332. subscripts and superscripts, fractions (which used to be difficult to 
  333. typeset), square roots, and arbitrary nth roots. There are also arbitrary 
  334. one- and two-parameter LaTeX commands which prompt the user to input the 
  335. command name. Next to latex.tcl's environment commands, the formula 
  336. commands should be most useful. (In fact, it pays to memorize their command 
  337. key equivalents...but more on that later.) 
  338.  
  339. While we're talking about the Formulas submenu, let me tell a little bit 
  340. about latex.tcl's ability to parse fractions. How many times have you found 
  341. yourself wanting to recast a horizontally typeset fraction such as $x = (-b 
  342. \pm \sqrt{b^2 - 4ac})/(2a)$ in a corresponding "vertical" form such as $$x 
  343. = \frac{(-b \pm \sqrt{b^2 - 4ac})}{(2a)}$? Obviously, such an operation 
  344. involves a lot of cutting and pasting, and I used to avoid it like the 
  345. plague. Well, now all you have to do is select the text you want converted 
  346. (in this case, all the text inside the dollar signs except "x = ") and then 
  347. choose Formulas:Fraction from the LaTeX menu. The rest is automatic. (Now 
  348. if only I could get it to automatically remove those redundant 
  349. parentheses... :-) 
  350.  
  351. The longest of latex.tcl's submenus contains the entire Greek alphabet, 
  352. including both lower- and upper-case letters, plus a handful of lower-case, 
  353. "italicized" letters (\varepsilon, \vartheta, \varpi, \varrho, \varsigma, 
  354. and \varphi). The upper-case letters have been prefixed with the keyword 
  355. "Cap" on the Greek submenu since the words "theta" and "Theta," for 
  356. instance, are indistinguishable to Alpha's menu processor. 
  357.  
  358. Plain TeX defines an incredible variety of mathematical symbols, each 
  359. transparently available to the LaTeX user, but only a fraction of these 
  360. have been implemented in this version of latex.tcl. The Binary Operators 
  361. and Relations submenus contain a couple dozen of the most commonly used 
  362. symbols, although others may be added quite easily (it'll be difficult to 
  363. find appropriate command keys, however!). The latex.tcl macro package also 
  364. provides support for TeX's so-called "large operators." Commands such as 
  365. Sum, Product, Integral, set Union and Intersection, and Logical And and Or 
  366. may be found on the Large Operators submenu. 
  367.  
  368. Similarly, a quick glance at the _LaTeX_ book shows a wide assortment of 
  369. arrows, dots, and miscellaneous mathematical symbols---only some of which 
  370. are implemented in latex.tcl. See the Arrows, Dots, and Symbols submenus 
  371. for lists of available commands. 
  372.  
  373. TeX's so-called "log-like" functions (\exp and \sin, for instance) are 
  374. scheduled to be implemented in future versions of latex.tcl. (Quite 
  375. frankly, I find it easier to type these commands directly as opposed to 
  376. pulling down a menu, but I admit they might be useful in some instances.) 
  377.  
  378. TeX is particularly adept at "delimiting" arbitrary-sized mathematical 
  379. expressions. Examples include parenthesized equations, matrices, and 
  380. determinants. Since the left and right delimiters need not be of the same 
  381. type, there are a host of options from which to choose, and hence we're 
  382. presented with an interesting design problem. A workable compromise was 
  383. achieved by implementing a handful of common delimiters explicitly, and 
  384. then providing access to other more esoteric combinations via dialogs. 
  385. Consequently, commands for Big Parentheses, Big Brackets, Big Braces, and 
  386. Big Absolute Value symbols will be found on the Delimiters submenu, along 
  387. with a Big Left Brace (which is commonly used to define multi-part 
  388. functions or systems of equations), as well as interactive commands called 
  389. Other Big Delims and Other Mixed Big Delims. The latter two commands are 
  390. interactive---the user either types the delimiter name directly into a text 
  391. box or chooses the desired name from a pop-up menu of available options. 
  392. Also on the Delimiters submenu are normal-sized parentheses, brackets, 
  393. braces, and absolute values, as well as arbitrary fixed-size delimiters.
  394.  
  395. Math accents (not to be confused with diacritical marks used in paragraph 
  396. mode) are accessed from a submenu of the same name. There are commands for 
  397. hats, bars, tildes, vectors, dots, etc., plus wide hats and tildes. There 
  398. are also commands for dotless versions of the letters "i" and "j" used in 
  399. conjuction with these accents. Insofar as possible, the macros check to 
  400. make sure that only single characters are being accented, or in the case of 
  401. wide accents, three or fewer characters. 
  402.  
  403. The Grouping submenu has commands for underlining and overlining, and 
  404. related commands for creating underbraces and overbraces. There's also a 
  405. command for something called a stack used to construct compound operators 
  406. via vertical stacking (see p.52 of the _LaTeX_ book for more details). 
  407.  
  408. The Spacing submenu provides for various types of horizontal spacing. There 
  409. are commands for thin, negative thin, medium, and thick amounts of 
  410. whitespace, and additional commands for inserting the traditional 
  411. typesetter's quad (1em) and double quad. Arbitrary horizontal whitespace, 
  412. defined via LaTeX's \hspace and \hspace* commands, may be inserted with the 
  413. One Parameter command on the Formulas menu. Vertical whitespace commands 
  414. have not yet been implemented. 
  415.  
  416. The last submenu on the LaTeX menu is called Math Style, with commands for 
  417. (the seldom used) Math Italic and Calligraphic typefaces, as well as 
  418. declarations for displaystyle, textstyle, scriptstyle, and 
  419. scriptscriptstyle. The latter command quartet are sometimes needed to 
  420. override LaTeX's default math style. (For example, the array environment 
  421. for some bizarre reason insists on enabling textstyle regardless of the 
  422. surrounding environment.) Future versions of latex.tcl will also provide 
  423. support for the AMS Fonts, including Fraktur, Script, and Blackboard Bold. 
  424.  
  425.  
  426. IV.  COMMAND KEYS
  427.  
  428. Menus are great when first learning a program, but eventually the tendency 
  429. is to move away from menus towards commands keys. This can significantly 
  430. speed input. However, few of us are inclined to memorize more than a couple 
  431. dozen such keystrokes unless continually prompted with reminders. 
  432. Unfortunately, it's not possible to display complex command key icons on Alpha 
  433. menus and so we must resort to external aids (see the file commands.tex in 
  434. the Help folder). Other than that, a logical approach to key assignments is 
  435. about all we can hope for. 
  436.  
  437. Key Assignments
  438. ---------------
  439.  
  440. A few remarks will help you remember the many command key sequences. Almost 
  441. all commands that use wrapObject have been assigned command keys beginning 
  442. with <Cmd Shf> or <Cmd Opt> or <Cmd Shf Opt>. The first of these is 
  443. reserved for paragraph mode and the others for math mode. On the other 
  444. hand, commands that use insertObject almost always have command keys 
  445. beginning with <Opt> or <Opt Shf> or <Opt Ctl>. Knowing these simple facts 
  446. will help tremendously. 
  447.  
  448. In may cases, we've honored normal Mac keyboarding conventions. Thus, 
  449. Bullet and Ellipsis have been assigned <Opt 8> and <Opt ;>, respectively. 
  450. Similarly, the commands Less Or Equal and Greater Or Equal have been 
  451. assigned <Opt ,> and <Opt .>, respectively. There are others that you'll 
  452. no doubt recognize, too.
  453.  
  454. There's also a certain amount of redundancy built in.  For example, the 
  455. ubiquitous Subscript and Superscript commands each have a pair of command 
  456. keys assigned to them, <Cmd Opt ,> and <Cmd Opt -> in the case of Subscript, 
  457. and <Cmd Opt .> and <Cmd Opt 6> for Superscript. Take your pick!
  458.  
  459. Meta Keys
  460. ---------
  461.  
  462. The LaTeX key bindings make heavy use of the option key.  This is fine
  463. if you never learned those strange emacs-type key combinations, or if
  464. you are accustomed to using the escape key for the meta-key combinations.
  465. However, if you are taking advantage of Alpha's ability to use the option
  466. key for the meta-key combinations (by setting optionIsMeta to 1), you
  467. have undoubtedly noticed that you have a problem in Tex mode, where
  468. option-v inserts "\nabla" rather than scrolling up one screen.  
  469.  
  470. Fear not. If you want to use option as a meta key in Tex mode, open the 
  471. procs.tcl file, use the Mark titlebar menu to find the mark 
  472. "latexMacroOption", type a pound sign "#" (without the quotes), save the 
  473. file, and quit Alpha. (If the mark is missing from procs.tcl, look for the 
  474. "setTexMode" procedure and read the comments.) When you restart Alpha and 
  475. enter Tex mode, the optionIsMeta flag will have been left set, the latex 
  476. key bindings will all have the control key added to them (except the tab 
  477. key), and option will work as a meta key. 
  478.  
  479.